package com.flying.set;

import java.lang.reflect.AnnotatedArrayType;
import java.util.Comparator;
import java.util.Objects;

/**
 * @author liupengfei
 * @ClassName: Person
 * @Time: 2023-09-18 20:38
 * @Version: 1.0
 * @Descition
 */
public class Student  {
    String name;
    int age;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Student() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
               "name='" + name + '\'' +
               ", age=" + age +
               '}';
    }


}
